package cn.bsyang.dao;

import cn.bsyang.domain.po.PayOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author bsyang
 * @date 2021/12/27
 * 订单数据访问接口
 */
@Mapper
public interface IOrderDao {
    void insert(PayOrder payOrder);
    PayOrder queryUnPayOrder(PayOrder payOrder);
    void updateOrderPayInfo(PayOrder payOrder);
    void changeOrderPaySuccess(PayOrder order);
    boolean changeOrderClose(String orderId);
    List<String> queryTimeoutCloseOrderList();
    List<String> queryNoPayNotifyOrder();

}
